home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- if "%1"=="" goto nodrive
-
- echo ╔═══════════════════════════════════════════════════╗
- echo ║ Baseball Statpak 4.0 ║
- echo ╠═══════════════════════════════════════════════════╣
- echo ║ This batch file will install Baseball Statpak ║
- echo ║ on a floppy disk in Drive %1. Please make sure ║
- echo ║ you have a formatted disk in that drive. ║
- echo ║ ║
- echo ║ If you'd like to stop now without installing ║
- echo ║ the program, hit CTRL-C. Hit any other key ║
- echo ║ to proceed with the installation. ║
- echo ╚═══════════════════════════════════════════════════╝
- pause > nul
- cls
- echo Installing Statpak 4.0 files now....
- echo:
- copy stat40.exe %1
- copy statpak4.pak %1
- copy baseball.bat %1
- copy speedscr.com %1
- if not exist %1stat40.exe goto badinstall
- if not exist %1baseball.bat goto badinstall
- if not exist %1speedscr.com goto badinstall
- if not exist %1statpak4.pak goto badinstall
- cls
- echo ╔═══════════════════════════════════════════════════╗
- echo ║ The Installation is Complete ║
- echo ╠═══════════════════════════════════════════════════╣
- echo ║ Statpak 4.0 has been installed on Drive %1 ║
- echo ║ You must now decide whether you want to copy ║
- echo ║ the demonstration statistics files to your ║
- echo ║ new working disk. To copy the files, type ║
- echo ║ DEMOCOPY Drive: and hit ENTER. For example, ║
- echo ║ to copy the demo files to drive B:, type ║
- echo ║ ║
- echo ║ DEMOCOPY B: (and hit ENTER) ║
- echo ║ ║
- echo ║ To run the program, switch to the drive with ║
- echo ║ your working disk. Type BASEBALL and hit ENTER. ║
- echo ╚═══════════════════════════════════════════════════╝
- echo:
- prompt $p$g
- goto finis
-
- :badinstall
- echo:
- cls
- echo ╔═══════════════════════════════════════════════════╗
- echo ║ Sorry, the Installation is NOT Complete ║
- echo ╠═══════════════════════════════════════════════════╣
- echo ║ Please check to make sure all the necessary ║
- echo ║ files were on your installation disk. Also make ║
- echo ║ sure you specified the name of an existing ║
- echo ║ drive, including the colon. For example, to ║
- echo ║ install the program on Drive B, you'd type ║
- echo ║ ║
- echo ║ FINSTALL B: (and hit ENTER) ║
- echo ║ ║
- echo ╚═══════════════════════════════════════════════════╝
- echo:
- goto finis
-
- :nodrive
- cls
- echo ╔═══════════════════════════════════════════════════╗
- echo ║ Sorry, No Drive Specified ║
- echo ╠═══════════════════════════════════════════════════╣
- echo ║ To make the installation work properly, you ║
- echo ║ must specify a Drive letter. For example, to ║
- echo ║ install Statpak on Drive B:, type ║
- echo ║ ║
- echo ║ FINSTALL B: (and hit ENTER) ║
- echo ║ ║
- echo ╚═══════════════════════════════════════════════════╝
- echo:
- prompt $p$g
- goto finis
-
- :finis
-
-